package com.bruan.reflect_demo;

public class Teacher {
    private String name;
    private String sex;
    private int age;
    private double salary;
    private String title;

    public Teacher() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Teacher(String name, String sex, int age, double salary, String title) {
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.salary = salary;
        this.title = title;
    }
}
